package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.Question;
import com.example.eureka_client.entity.QuestionAgree;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-04-18
 */
public interface QuestionAgreeMapper extends BaseMapper<QuestionAgree> {
    QuestionAgree getBy(String userId, String questionId);
    boolean deleteById(String questionId, String userId);
}
